projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaade31
)
print object in comment when emitting with emit_const_lisp_obj
author
Andrea Corallo
<akrl@sdf.org>
Sun, 22 Sep 2019 17:04:11 +0000
(19:04 +0200)
committer
Andrea Corallo
<akrl@sdf.org>
Wed, 1 Jan 2020 10:37:53 +0000
(11:37 +0100)
src/comp.c
patch
|
blob
|
history
diff --git
a/src/comp.c
b/src/comp.c
index 60502da1740060b26e2ce86bd7e514358076fdf2..6daeae311c31d63d4a5901d860aa5ea7ec19df3e 100644
(file)
--- a/
src/comp.c
+++ b/
src/comp.c
@@
-800,7
+800,8
@@
emit_make_fixnum (gcc_jit_rvalue *obj)
static gcc_jit_rvalue *
emit_const_lisp_obj (Lisp_Object obj)
{
- emit_comment ("const lisp obj");
+ emit_comment (format_string ("const lisp obj: %s",
+ SSDATA (Fprin1_to_string (obj, Qnil))));
Lisp_Object d_reloc_idx = FUNCALL1 (comp-ctxt-data-relocs-idx, Vcomp_ctxt);
ptrdiff_t reloc_fixn = XFIXNUM (Fgethash (obj, d_reloc_idx, Qnil));